package com.zsw;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhangsw
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableResourceServer
@MapperScan(basePackages = {
        "com.zsw.dao"
})
public class OauthServiceMain8050 {
    public static void main(String[] args) {
        SpringApplication.run(OauthServiceMain8050.class,args);
    }
}
